/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

returnRule
渠道管理平台返还规则

OpenAPI spec version: v1
Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/


#ifndef PartnerApiModel_h
#define PartnerApiModel_h
#import <JDCloudOCSDKCore/JDCloudOCSDKCore.h>
#import <JDCloudOCSDKPartner/PartnerModel.h>


@interface PartnerQueryMyCustomerListRequest:JDCloudRequest

/// 客户pin（客户账户）
@property (strong,nonatomic,nonnull)  NSString*  customerPin;
/// 客户昵称
@property (strong,nonatomic,nonnull)  NSString*  aliasName;
/// 关联开始时间（格式：yyyy-MM-dd HH:mm:ss）
@property (strong,nonatomic,nonnull)  NSString*  startRelTime;
/// 关联结束时间（格式：yyyy-MM-dd HH:mm:ss）
@property (strong,nonatomic,nonnull)  NSString*  endRelTime;
/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;
/// 当前条数
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;
-(id) initWithRegion:(NSString *)regionId
customerPin:(NSString*)customerPin
aliasName:(NSString*)aliasName
startRelTime:(NSString*)startRelTime
endRelTime:(NSString*)endRelTime
pageIndex:(NSNumber*)pageIndex
pageSize:(NSNumber*)pageSize;

-(id) initWithRegion:(NSString *)regionId
             version:(NSString *)version
customerPin:(NSString*)customerPin
aliasName:(NSString*)aliasName
startRelTime:(NSString*)startRelTime
endRelTime:(NSString*)endRelTime
pageIndex:(NSNumber*)pageIndex
pageSize:(NSNumber*)pageSize;

@end

@interface PartnerQueryMyCustomerListResult : NSObject
/// Pagination
 @property (strong,nonatomic,nonnull)  Pagination*  pagination;
/// Result
 @property (strong,nonatomic,nonnull)  NSArray<Customer*>*  result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;
-(id) initWithPagination:(Pagination*) pagination

    result:(NSArray<Customer*>*)result;
@end

@interface PartnerQueryMyCustomerListResponse : NSObject

@property NSString* requestId;

@property ServiceError* error;

@property PartnerQueryMyCustomerListResult* result;

-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;

-(id) initWithRequestId:(NSString*) requestId
        error:(ServiceError*) error
        result:(PartnerQueryMyCustomerListResult*) result;
@end

#endif /* PartnerApiModel_h */
